package io.renren.api.test;

public class SystemEnity {

    public void clickMe(String content, EventCallback callback) {
        System.out.println("do something");
        System.out.println(content);
        callback.doHandle();
    }

    public static void main(String[] args) {
        new SystemEnity().clickMe("test something", new EventCallback() {
            @Override
            public void doHandle() {
                System.out.println("我是匿名内部类");
            }
        });


        new SystemEnity().clickMe("test something", new EventCallbackImpl());


    }

}
